<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ResourceFileAddEdit.ascx.cs" Inherits="IGlobalist.Cms.Admin.Control.ResourceFileAddEdit" %>
<%@ Register Src="CmsExtPropertiesForm.ascx" TagName="CmsExtPropertiesForm" TagPrefix="uc1" %>
<table>
    <tr>
        <td colspan="2" align="center" style="height: 21px">
            <asp:Label runat="server" ID="lblStatus" ForeColor="#1A5688" Font-Bold="True" Font-Size="Medium" Text="Upload File"/>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label runat="server" ID="lblError" ForeColor="red" />
        </td>
    </tr>
    <tr>
        <td>
        <div class="frame">
            <fieldset id="fsMain" runat="server">
            <legend><asp:Label ID="Label1"  runat="server"  Text="Main Properties"></asp:Label> </legend>
            <table border="0">
                <tr>
                    
                </tr>
                <tr>
                    <td>File Class</td>
                    <td><asp:DropDownList runat="server" ID="ddlClassFileList" AutoPostBack="True" OnSelectedIndexChanged="ddlClassFileList_SelectedIndexChanged" /></td>        
                </tr>
                <tr>
                    <td>File Type</td>
                    <td>                
                        <asp:DropDownList runat="server" ID="ddlImageType">
                                <asp:ListItem Selected="True" Text="Select a file type" Value="Select a file type" />         
                                <asp:ListItem  Text="Folder" Value="0"/>
                                <asp:ListItem  Text="Image" Value="1"/>
                                <asp:ListItem  Text="Audio" Value="2"/>
                                <asp:ListItem  Text="Video" Value="3"/>
                                <asp:ListItem  Text="Flash" Value="4"/>
                                <asp:ListItem  Text="Css" Value="5"/>
                                <asp:ListItem  Text="Script" Value="6"/>
                                <asp:ListItem  Text="Document" Value="7"/>
                                <asp:ListItem  Text="Others" Value="8"/>
                        </asp:DropDownList>            
                        <asp:RequiredFieldValidator id="rfvImageType" runat="server" ErrorMessage="Please make a selection" ControlToValidate="ddlImageType" InitialValue="Select a file type"/>            
                        </td>
                </tr>            
                <tr>
                    <td>File Name:</td>
                    <td><asp:FileUpload runat="server" ID="fuFile"  Size="60"/> </td>
                </tr>     
                <tr>
                    <td>Folder local</td>
                    <td><asp:DropDownList runat="server" ID="ddlFolderList" /></td>
                </tr>       
                <tr>
                    <td colspan="2">
                    <fieldset id="fsExtend" runat="server" >
                    <legend><asp:Label ID="lbMain"  runat="server"  Text="Ext Properties"></asp:Label> </legend>
                        <uc1:CmsExtPropertiesForm ID="ucCmsExtPropertiesForm" runat="server" />
                        
                    </fieldset>
                    </td>        
                </tr>
            </table>
            </fieldset>
            </div>        
        </td>
    </tr>
</table>
